package com.freesky.biz.activity.service;

import com.freesky.biz.activity.domain.TRpaTask;
import com.freesky.common.core.domain.AjaxResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 接口文档地址：
 * https://developer.work.weixin.qq.com/document/path/99110#图文类型
 */
public interface IWebhookService {

    //发放文本信息
    public AjaxResult sendText(String url,String content,
                               List<String> mentionedMobileList);

    //发放图片信息
    public AjaxResult sendImage(String url,String base64);


    /**
     * 发放图文消息
     * @return
     */
    public AjaxResult sendNews(String url,
                               List<Map<String,String>> articleList);

}
